

<#include "/layout/easyuilayout.ftl"/> 
<@htmlHead> 
<link rel="stylesheet" type="text/css" href="${webinfo.basePath}/plug/webuploader/webuploader.css"> 
<script type="text/javascript" src="${webinfo.basePath}/plug/webuploader/webuploader.js"></script>
    
	<script type="text/javascript" src="${webinfo.basePath}/Scripts/qrmgr/qrh5theme/index.js"></script>
	
	<style>
 
 #uploader-demo{
 width: 260px;
position: absolute;
right: 0px;
margin-right: 20px;
 }
 #fileList{height: 260px;
border: dotted 1px #cecece;
margin: 10px;}
 #fileList img{height:100%}
 #filePicker{text-align: center;
width: 90%;
top: -5px;
background-color: #00b7ee;
opacity: 0.8;
margin-left: 6%;}

 .thumbnail{ text-align: center }

.info{
position: relative;
left: 0px;
top: -15px;
background-color: #444;
opacity: 0.4;
color: #fff;
text-align: left;padding-left: 10px;
}
.error{
position: relative; 
left: 0px; 
top: -30px; 
color: #fff; 
text-align: right; 
padding-right: 10px; 
color: #f00;}

	</style>
	  
</@htmlHead>  
<@htmlBody>  

<div id="QrH5Theme_Toolbar">    
   <input id="QrH5Theme_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:QrH5ThemeSearchbox,prompt:'请输入关键字...',menu:'#QrH5Theme_mm'"></input>           
    <div id="QrH5Theme_mm" style="width:120px">  
        <div data-options="name:'theme_id'">主题编码</div> 
        <div data-options="name:'theme_name'">主题名称</div> 
    </div>  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="ShowQrH5ThemeEditForm()">新建</a>
    <span class="datagrid-btn-separator" style="float:none;"></span>
    
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="ReloadQrH5ThemeList()">刷新</a>
 


   </div> 
<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="QrH5Theme_Grid"> </table> 
</div>
<div id="QrH5Theme_EditForm" class="easyui-dialog" style="width:700px;height:400px;padding:0px;overflow: hidden;"  closed="true"  modal="true"    buttons="#QrH5Theme_EditForm_buttons" > 
    <form  id="QrH5Theme_EditForm_fm"  method="post" style="width: 90px;
height: 100%;
background-color: #f5f5f5;
float: left;
border-right: solid 1px #d5d5d5;" > 
          <div class="fitem" style="width:410px" >  
            <label>编码: </label>
        	<input name="theme_id" class="easyui-validatebox"   value="" data-options="required:false"   readonly="true"    style="width:290px"  />
            <input name="thumbnail"  id="thumbnail"  type="text"  />
     
         </div> 
          <div class="fitem"  style="width:410px">  
            <label>名称: </label> 
        	<input name="theme_name" class="easyui-validatebox" placeholder="请输入主题名称..." value="" data-options="required:true"     style="width:290px"  />
        </div>
          <div class="fitem"  style="width:410px">  
            <label>类型: </label> 
        	<input name="type_id" class="easyui-validatebox" placeholder="请输入类型..." value="" data-options="required:false"     style="width:290px"  />
        </div>  
          <div class="fitem" style="width:410px" >  
            <label>排序: </label> 
        	<input name="ordernum" class="easyui-numberbox" placeholder="请输入排序..." value="0" data-options="precision:0,required:false"    style="width:290px"   />
   	    </div>  
          <div class="fitem"  style="width:410px;height:120px">  
            <label>说明: </label> 
        	<input name="remark" class="easyui-validatebox" placeholder="请输入说明..." value="" data-options="required:false"  style="width:290px;height:120px"   />
          </div>   
    </form>
    
    <div id="uploader-demo"> 
    <div id="fileList" class="uploader-list"></div>
    <div id="filePicker">选择图片</div>
</div>	
</div>
<div id="QrH5Theme_EditForm_buttons">
      <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="SaveQrH5Theme()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#QrH5Theme_EditForm').dialog('close')">取消</a>
</div> 
</@htmlBody>

 

